package cn.edu.hit.education.action;

import org.eclipse.jface.action.Action;
import org.eclipse.ui.plugin.AbstractUIPlugin;

import cn.edu.hit.education.utils.CourseUtil;
import educationschedule.Activator;

public class CodeCourseAction extends Action {
	/**
	 * @wbp.parser.entryPoint
	 */
	public CodeCourseAction(){
		this.setImageDescriptor(AbstractUIPlugin.imageDescriptorFromPlugin(Activator.PLUGIN_ID, "icons/toolbar/course_code_16px.png"));
		this.setToolTipText("编码课程");
		this.setText("编码课程");
	}
	
	@Override
	public void run() {
		// TODO Auto-generated method stub
		CourseUtil.codeCourse();
		super.run();
	}

	

}
